import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// import axios from 'axios'
import './plugins/vant.js'

import { get, post } from './utils/axios.js'

Vue.prototype.$get = get
Vue.prototype.$post = post

import { Search, Grid, GridItem, Toast } from 'vant';
Vue.use(Search);
Vue.use(Grid);
Vue.use(GridItem);


Vue.prototype.$toast = Toast

// Vue.prototype.$http = axios.create({
//   baseURL: 'http://localhost:3000/api'
// })

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
